package cn.bellychang.ood.ocp.good;

import cn.bellychang.ood.ocp.DateUtil;

/**
 * @author ChangLiang
 * @date 2020/5/12
 */
public class RawWithDateFormatter implements Formatter {
    @Override
    public String format(String msg) {
        String txtDate = DateUtil.getCurrentDateAsString();
        return txtDate + ": " + msg;
    }
}
